package com.eol.common.sms;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: huangxj
 * @Description:
 * @Date: Create in 18:56 2019-05-08
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("调用阿里云短信服务入参")
public class SMSDto implements Serializable {
    private static final long serialVersionUID = 2120869894112984147L;

    @ApiModelProperty(value = "手机号码", notes = "必填")
    private String phoneNum;

    @ApiModelProperty(value = "短信模板", notes = "必填")
    private String templateCode;

    @ApiModelProperty(value = "模板中的变量", notes = "必填")
    private String templateParam;

    @ApiModelProperty(value = "提供给业务方扩展字段", notes = "可选")
    private String outId;

    @ApiModelProperty(value = "上行短信扩展码", notes = "可选")
    private String extendCode;
}
